.class Lcom/brixd/niceapp/community/CommunityUserRankingFragment$5;
.super Ljava/lang/Object;
.source "CommunityUserRankingFragment.java"

# interfaces
.implements Lretrofit/Callback;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/brixd/niceapp/community/CommunityUserRankingFragment;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lretrofit/Callback",
        "<",
        "Lorg/json/JSONObject;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/community/CommunityUserRankingFragment;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/CommunityUserRankingFragment;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/CommunityUserRankingFragment;

    .prologue
    .line 208
    iput-object p1, p0, Lcom/brixd/niceapp/community/CommunityUserRankingFragment$5;->this$0:Lcom/brixd/niceapp/community/CommunityUserRankingFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public failure(Lretrofit/RetrofitError;)V
    .registers 3
    .param p1, "error"    # Lretrofit/RetrofitError;

    .prologue
    .line 231
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityUserRankingFragment$5;->this$0:Lcom/brixd/niceapp/community/CommunityUserRankingFragment;

    # invokes: Lcom/brixd/niceapp/community/CommunityUserRankingFragment;->dismissHud()V
    invoke-static {v0}, Lcom/brixd/niceapp/community/CommunityUserRankingFragment;->access$100(Lcom/brixd/niceapp/community/CommunityUserRankingFragment;)V

    .line 233
    iget-object v0, p0, Lcom/brixd/niceapp/community/CommunityUserRankingFragment$5;->this$0:Lcom/brixd/niceapp/community/CommunityUserRankingFragment;

    # getter for: Lcom/brixd/niceapp/community/CommunityUserRankingFragment;->mPullToRefreshExpandableListView:Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableListView;
    invoke-static {v0}, Lcom/brixd/niceapp/community/CommunityUserRankingFragment;->access$400(Lcom/brixd/niceapp/community/CommunityUserRankingFragment;)Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableListView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableListView;->onRefreshComplete()V

    .line 234
    return-void
.end method

.method public bridge synthetic success(Ljava/lang/Object;Lretrofit/client/Response;)V
    .registers 3

    .prologue
    .line 208
    check-cast p1, Lorg/json/JSONObject;

    invoke-virtual {p0, p1, p2}, Lcom/brixd/niceapp/community/CommunityUserRankingFragment$5;->success(Lorg/json/JSONObject;Lretrofit/client/Response;)V

    return-void
.end method

.method public success(Lorg/json/JSONObject;Lretrofit/client/Response;)V
    .registers 5
    .param p1, "jo"    # Lorg/json/JSONObject;
    .param p2, "resp"    # Lretrofit/client/Response;

    .prologue
    .line 212
    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityUserRankingFragment$5;->this$0:Lcom/brixd/niceapp/community/CommunityUserRankingFragment;

    # invokes: Lcom/brixd/niceapp/community/CommunityUserRankingFragment;->dismissHud()V
    invoke-static {v1}, Lcom/brixd/niceapp/community/CommunityUserRankingFragment;->access$100(Lcom/brixd/niceapp/community/CommunityUserRankingFragment;)V

    .line 214
    invoke-static {p1}, Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;->parseRankingUserCategoryModels(Lorg/json/JSONObject;)Ljava/util/ArrayList;

    move-result-object v0

    .line 216
    .local v0, "list":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;>;"
    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityUserRankingFragment$5;->this$0:Lcom/brixd/niceapp/community/CommunityUserRankingFragment;

    # getter for: Lcom/brixd/niceapp/community/CommunityUserRankingFragment;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;
    invoke-static {v1}, Lcom/brixd/niceapp/community/CommunityUserRankingFragment;->access$200(Lcom/brixd/niceapp/community/CommunityUserRankingFragment;)Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->setRankingUserCategoryModels(Ljava/util/ArrayList;)V

    .line 217
    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityUserRankingFragment$5;->this$0:Lcom/brixd/niceapp/community/CommunityUserRankingFragment;

    # getter for: Lcom/brixd/niceapp/community/CommunityUserRankingFragment;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;
    invoke-static {v1}, Lcom/brixd/niceapp/community/CommunityUserRankingFragment;->access$200(Lcom/brixd/niceapp/community/CommunityUserRankingFragment;)Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;

    move-result-object v1

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->notifyDataSetChanged()V

    .line 219
    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityUserRankingFragment$5;->this$0:Lcom/brixd/niceapp/community/CommunityUserRankingFragment;

    # invokes: Lcom/brixd/niceapp/community/CommunityUserRankingFragment;->expandAllGroup()V
    invoke-static {v1}, Lcom/brixd/niceapp/community/CommunityUserRankingFragment;->access$300(Lcom/brixd/niceapp/community/CommunityUserRankingFragment;)V

    .line 220
    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityUserRankingFragment$5;->this$0:Lcom/brixd/niceapp/community/CommunityUserRankingFragment;

    # getter for: Lcom/brixd/niceapp/community/CommunityUserRankingFragment;->mPullToRefreshExpandableListView:Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableListView;
    invoke-static {v1}, Lcom/brixd/niceapp/community/CommunityUserRankingFragment;->access$400(Lcom/brixd/niceapp/community/CommunityUserRankingFragment;)Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableListView;

    move-result-object v1

    invoke-virtual {v1}, Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableListView;->onRefreshComplete()V

    .line 222
    new-instance v1, Lcom/brixd/niceapp/community/CommunityUserRankingFragment$5$1;

    invoke-direct {v1, p0, p1}, Lcom/brixd/niceapp/community/CommunityUserRankingFragment$5$1;-><init>(Lcom/brixd/niceapp/community/CommunityUserRankingFragment$5;Lorg/json/JSONObject;)V

    .line 226
    invoke-virtual {v1}, Lcom/brixd/niceapp/community/CommunityUserRankingFragment$5$1;->start()V

    .line 227
    return-void
.end method
